package com.young.springdemo.service.expression;
//距离节点
public class DistanceNode extends AbstractExpression {
    private String distance;//直接用String,比较省事了....

    public DistanceNode(String distance) {
        this.distance = distance;
    }

    @Override
    public String interrupt() {
        return distance+"米";
    }
}
